package com.hs.srm.base.common.base;

import java.io.Serializable;
import java.sql.Timestamp;

import lombok.Getter;
import lombok.Setter;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

@Getter
@Setter
public abstract class BaseEntity implements Serializable {

	private static final long serialVersionUID = -6329243643792240176L;
	
	@TableId(type=IdType.AUTO)
	protected Long id;
	protected String remark;
	
	@TableField(value="create_by")
	protected Long createBy;
	@TableField(value="create_time")
	protected Timestamp createTime;
	@TableField(value="update_by")
	protected Long updateBy;
	@TableField(value="update_time")
	protected Timestamp updateTime;

}
